package com.android.nodejs.livejs.activities;

import com.android.nodejs.livejs.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.Window;

public class ForgotPasswordActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
    	this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_forgot_password);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_forgot_password, menu);
        return true;
    }
    
    public void onClickSignIn(View v) {
    	setResult(RESULT_CANCELED);
		finish();
    }
    
    public void onClickSignUp(View v) {
        //end ForgotPasswordActivity
        setResult(RESULT_CANCELED);
        finish();
        //start SignUpActivity
        Intent intentSignUp = new Intent();
        intentSignUp.setClass(this, SignUpActivity.class);
        startActivity(intentSignUp);
    }
}
